/**
 * 
 */
package com.changil.admin.protocol.http.request;

import com.changil.admin.protocol.http.HttpUtil;


/**
 * @author skplanet
 *
 */
public class HistoryListRequest extends BaseHttpRequest {
	private String mFromId;
	private int mCount;
	private boolean mIsDownSide;
	public HistoryListRequest(String fromId, int count, boolean isDownSide) {
		mFromId = fromId;
		mCount = count;
		mIsDownSide = isDownSide;
	}

	@Override
	protected void setParams() {
		mPath = "/infos/histories?"
				+ "fromId="+mFromId + "&"
				+ "count="+mCount +"&"
				+ "isDownSide="+mIsDownSide;
	}
	
	@Override
	public String request() {
		setParams();
		return HttpUtil.get(mPath);
	}
}
